package viz_main;

import java.awt.BorderLayout;
import java.awt.Frame;

import processing.core.PApplet;

public class VizFrame extends Frame {
     
	public static void main(String args[]) {
	    PApplet.main(new String[] { "--present", "viz_main.VizApplet" });
	}
	
	public VizFrame() {
		super("Embedded PApplet");
	
		setLayout(new BorderLayout());
		PApplet embed = new VizApplet();
		add(embed, BorderLayout.CENTER);
		
		embed.init();
	}
}
